package com.lagou.orm.core;

import com.lagou.orm.config.Configuration;
import com.lagou.orm.config.MappedStatement;

import java.util.List;

public interface Executor {

    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    void executeUpdate(Configuration configuration, MappedStatement mappedStatement, Object[] params) throws Exception;
}
